package cn.iocoder.yudao.module.hs.controller.admin.rfidchangerecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - RFID更换记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RfidChangeRecordPageReqVO extends PageParam {

    @Schema(description = "所在仓库", example = "24209")
    private Long warehouseId;

    @Schema(description = "原rfid编码")
    private String oldRfidCode;

    @Schema(description = "新rfid编码")
    private String newRfidCode;

    @Schema(description = "更换原因	LOW_BATTERY: 低电量	DAMAGED：损坏", example = "不香")
    private String changeReason;

    @Schema(description = "更换状态：1-更换；0-待更换", example = "2")
    private Integer changeStatus;

    @Schema(description = "更换时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] changeTime;

    @Schema(description = "更换人ID", example = "6088")
    private Long changeUserId;

    @Schema(description = "更换人", example = "芋艿")
    private String changeUserName;

    @Schema(description = "分派人ID", example = "4794")
    private Long assignUserId;

    @Schema(description = "分派人", example = "王五")
    private String assignUserName;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}